package com.kanavi.stand.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户小程序停留时长记录表
 * </p>
 *
 * @author tanghailan
 * @since 2020-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value="UserStandInfo对象", description="用户小程序停留时长记录表")
public class UserStandInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "今日统计总时长（单位秒）")
    private Long standCountTotal;

    @ApiModelProperty(value = "统计日期")
    private Long standCountDate;

    @ApiModelProperty(value = "新建时间")
    private Date createTime;


}
